﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PersonEntity
{
   public  class DS_Entity
    {
        public void save()
        {
            PErsonModelContainer bd = new PErsonModelContainer();
            Person p = new Person();
            p.Id = 5;
            p.Adresses.Add(new Adress(){Country ="UK"});
            p.Contacts.Add(new Contact(){Mail="few"});
            bd.AddToPeople(p);
        }
    }
}
